<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import('ViewModel');
class FriendViewModel extends ViewModel{
    public $viewFields=array(
       'user'=>array('id','username','name','email','gender','birth_day','question','phone','register_time','credits','login_time','is_online','group','head_img','_as'=>'u','_type'=>'inner'),
       'friend'=>array('id','user_id','buddy_id','description','state','dateline','_as'=>'fr','_on'=>'u.id=fr.user_id')
    );
}

?>
